/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hiof.moraa.server.dao;

import com.hiof.moraa.server.service.model.LiveMediaFeed;
import java.sql.Timestamp;
import java.util.List;

/**
 *
 * @author Bergy
 */
public interface AthleteLiveMediaDAO {

    public LiveMediaFeed insertAthleteLiveMediaFeed(int athleteId, String filePath, double lat, double lng, double height, Timestamp timestamp);

    public List<LiveMediaFeed> getAllMediaFeedByAthleteId(int athleteId);

    public List<LiveMediaFeed> getLatestLiveMediaFeedOfAllAthletesInOneRoute(int routeId, int numOfFeed);
    public List<LiveMediaFeed> getLatestLiveMediaFeedOfOneAthleteInOneRoute(String username, int routeId, int numOfLiveMediaFeed);
}
